const fs = require('fs');

const crypto = require('crypto');

const md5sum = crypto.createHash('md5');

module.exports=function(path){

  const file = fs.readFileSync(path,'utf8');

  md5sum.update(file);
  
  return md5sum.digest('hex');
}


